package thinking

object 样例类 {
  def main(args: Array[String]): Unit = {

    List(1, 3, 5, 6) match {
      case first :: second :: rest => println(first + " " + second + " " + rest.length)
      case _ => println("匹配不到")
    }
  }

}
